package com.kx.yooli.kx.wechat.po.user;

import com.mybatisflex.annotation.*;
import com.mybatisflex.core.table.TableDef;

import java.io.Serial;
import java.io.Serializable;

@Table(value = "user_info",dataSource = "m")
public class UserInfo  implements Serializable{

    @Id(keyType = KeyType.Auto)
    private Integer id;

    private String mobile;

    @Column(value = "cert_no")
    private String certNo;

    private String image;

    private String name;
    @Column(value = "is_certified")
    private Integer certified;

    @Override
    public String toString() {
        return "UserInfo{" +
                "id=" + id +
                ", mobile='" + mobile + '\'' +
                ", certNo='" + certNo + '\'' +
                ", image='" + image + '\'' +
                ", name='" + name + '\'' +
                ", certified=" + certified +
                '}';
    }

    public Integer getCertified() {
        return certified;
    }

    public void setCertified(Integer certified) {
        this.certified = certified;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getCertNo() {
        return certNo;
    }

    public void setCertNo(String certNo) {
        this.certNo = certNo;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }


}
